package com.atguigu.classes.preconditions;

/**
 * @program: myIDEA
 * @description: i++
 * @author: Mr.zjx
 * create: 2021-07-04-21-00
 **/
public class Test06 {
    public static void main(String[] args) {
        int i = 1;              //1
        int j = i++;            //j=1 i=2
        int k = i++ * ++j + ++i * j++; //2*2+4*2
        System.out.println(i);//i= 4
        System.out.println(j);//3
        System.out.println(k);//12
    }
}
